#{extends 'Secure/layout.html' /}
#{set title:'Register' /}

<div id="login">
	
	<h1>&{'secure.title'}</h1>
		
	#{form @doRegister()}
		<p id="username-field">
			<label for="email">Email</label>
			<input type="text" name="email" id="email" value="${flash.email}" />
			<div class="field-info">
				You will be emailed with your password. It's that simple ;)
			</div>
		</p>
		<p id="signin-field">
			<input type="submit" id="signin" value="Register" /> or <a href="@{Secure.login}">Login</a>
		</p>
	#{/form}
</div>